<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>{%block title%}{%endblock%}gradevil</title>
  <!-- <link type="text/css" rel="stylesheet" href="/static/styles.css"> -->
  <!--
  <link type="text/css" rel="stylesheet" href="/static/yui/fonts/fonts-min.css">
  <link rel="stylesheet" type="text/css" href="/static/yui/base/base.css">
  <link rel="stylesheet" type="text/css" href="/static/yui/button/assets/skins/sam/button.css" />
  <link rel="stylesheet" type="text/css" href="/static/yui/container/assets/skins/sam/container.css" />
  <style>
    body        {margin:0px;padding:0px;}
    #userbar    {background:#DDDDDD;padding:3px;}
    #content    {margin:5px;}
    #footer     {background:#DDDDDD;padding:3px;text-align:right;}
  </style>
  <script type="text/javascript" src="/static/yui/yahoo/yahoo.js"></script>
  <script type="text/javascript" src="/static/yui/event/event.js" ></script>
  <script type="text/javascript" src="/static/yui/dom/dom.js" ></script>  
  <script type="text/javascript" src="/static/yui/utilities/utilities.js"></script>
  <script type="text/javascript" src="/static/yui/button/button-min.js"></script>
  <script type="text/javascript" src="/static/yui/container/container.js"></script>
  -->
  <style>
  	td {border:1px solid red;}
  	table {border:1px solid orange;}
  </style>
  {%block includes%}{%endblock%}
</head>
<body class="yui-skin-sam">
<div id="userbar">
  <a href="{%url views.mainPage%}">Home</a> | 
  {%if user %}
    <b>{{user.nickname}} &lt;{{user.email}}&gt;</b>
    {%if is_admin%} | <a href="/_ah/admin">Admin</a>{%endif%}
    {%if sign_out%} | <a href="{{sign_out}}">Sign out</a>{%endif%}
  {% else %}
    {%if sign_in%}<a href="{{sign_in}}">Sign in</a>{%endif%}
  {%endif%}
</div>

{%block body%}{%endblock%}

<div id="footer"><em>gradient - v0.1</em></div>
</body>
</html>